package com.ihrm.modules.sys.dao;

import com.ihrm.modules.sys.entity.PermissionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author gaogzhen
 * @email gaogzhen@foxmail.com
 * @date 2020-12-17 20:56:33
 */
@Mapper
public interface PermissionDao extends BaseMapper<PermissionEntity> {
	PermissionEntity queryById(String id);
	List<String> queryByRoleId(String roleId);

    List<PermissionEntity> queryMenusByUserId(String id);

	List<String> queryBtnsByUserId(String id);
}
